package org.vergil.core.designpattern.subject;

/**
 * Created by vergil on 17-3-19.
 */
public class App {

    public static void main(String[] args){
        Subject subject = new Subject();
        ConcreteObserver1 concreteObserver1 = new ConcreteObserver1();
        subject.addObserver(concreteObserver1);
        subject.setData(1);
    }
}
